# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit eutils

DESCRIPTION="GNOME Presence Applet for Galago."
HOMEPAGE="http://www.galago.info/"
SRC_URI="http://www.galago.info/files/releases/source/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnome"

DEPEND=">=x11-libs/gtk+-2.4.0
		>=x11-libs/libgalago-gtk-0.3.0"

src_compile() {
	econf \
		$(use_enable gnome schemas-install) \
		|| die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die

	dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README
}
